package thread.produce_customer_base;

/**
 * Created by mHandler on 2018/6/2 0002.
 * Description:
 */
public class Test {

    public static void main(String[] args) {
        String lock = "";
        Producer producer = new Producer(lock);
        Customer customer = new Customer(lock);

        ThreadP threadP = new ThreadP(producer);
        ThreadC threadC = new ThreadC(customer);
        threadP.start();
        threadC.start();
    }
}
